﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Commission_rebate.aspx.cs" Inherits="CL.Admin.admin.promotion.Commission__rebate" %>
<%@ Import Namespace="CL.Enum.Common" %>
<%@ Import Namespace="CL.Tools.Common" %>
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,initial-scale=1.0,user-scalable=no" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<title>佣金返点</title>
    <link href="/scripts/artdialog/ui-dialog.css" rel="stylesheet" type="text/css" />
    <link href="/admin/skin/default/style.css" rel="stylesheet" type="text/css" />
    <link href="/css/pagination.css" rel="stylesheet" type="text/css" />
    <link href="/css/promotion.css" rel="stylesheet" />
</head>
<body>
    <form id="form1" runat="server">
       <!--导航栏-->
    <div class="location">
   <a href="javascript:history.back(-1);" class="back"><i></i><span>返回上一页</span></a>
            <a href="/center.aspx" class="home"><i></i><span>首页</span></a>
            <i class="arrow"></i>
            <span>佣金返点</span>
    </div>
        <!--/导航栏-->


               <!--工具栏-->
        <div id="floatHead" class="toolbar-wrap">
            <div class="toolbar">
                <div class="box-wrap">
                    <div class="l-list">
                        <label>查询 : </label>         
                        <input name="searchkey" type="text" id="searchkey" class="keyword" value="<%=searchKey %>"/>
                        <span  id="lbtnSearch" class="btn-search" onclick="OnClickComRebateSearch();">查询</span>
                        <ul class="icon-list">
                            <li><a class="add" href="Commission_rebate_edit.aspx?action=<%=CaileEnums.ActionEnum.Add %>"><i></i><span>新增</span></a></li>
                        </ul>   
                    </div>
                    <div class="r-list">                     
                    </div>
                </div>
            </div>
        </div>
        <!--/工具栏-->

           <!--列表-->
        <div class="table-container">
            <asp:Repeater ID="rptList" runat="server">
                <HeaderTemplate>
                    <table width="100%" border="0" cellspacing="0" cellpadding="0" class="ltable">
                        <tr>
                            <th align="center">代理账号</th>
                            <th align="center">销售金额</th>
                            <th align="center">返点数(万分比)</th>
                             <th align="center">结算基数</th>
                            <th align="center">税点(万分比)</th>
                            <th align="center">有效时间</th>
                            <th align="center">操作</th>                        
                        </tr>
                </HeaderTemplate>
                <ItemTemplate>
                    <tr>
                        <td align="center"><%#Eval("AccountCode") %></td>
                        <td align="center"><%#long.Parse(Eval("Amount").ToString()).ToString("N") %></td>
                        <td align="center"><%#Eval("RebateNum") %></td>
                        <td align="center"><%#Eval("SettlementNum") %></td>
                        <td align="center"><%#Eval("TaxPoint") %></td>
                        <td align="center"><%#Eval("EfficaciousTime") %></td>
                         <td align="center"><a href="Commission_rebate_edit.aspx?action=<%#CaileEnums.ActionEnum.Edit %>&id=<%#Eval("RebateID")%>">修改</a></td>                
                    </tr>
                </ItemTemplate>
                <FooterTemplate>
                    <%#rptList.Items.Count == 0 ? "<tr><td align=\"center\" colspan=\"8\">暂无记录</td></tr>" : ""%>
          </table>
                </FooterTemplate>
            </asp:Repeater>
        </div>
        <!--/列表-->

        <!--内容底部-->
        <div class="line20"></div>
        <div class="pagelist">
            <div class="l-btns">
                <span>显示</span><asp:TextBox ID="txtPageNum" runat="server" CssClass="pagenum" onkeydown="return checkNumber(event);" OnTextChanged="txtPageNum_TextChanged" AutoPostBack="True"></asp:TextBox><span>条/页</span>
            </div>
            <div id="PageContent" runat="server" class="default"></div>
        </div>
        <!--/内容底部-->
    </form>
    <script type="text/javascript" src="/scripts/jquery/jquery-1.11.2.min.js"></script>
    <script type="text/javascript" src="/scripts/artdialog/dialog-plus-min.js"></script>
    <script type="text/javascript" charset="utf-8" src="/scripts/datepicker/WdatePicker.js"></script>
    <script type="text/javascript" charset="utf-8" src="/admin/js/laymain.js"></script>
    <script type="text/javascript" charset="utf-8" src="/admin/js/common.js"></script>
    <script src="/admin/js/promotion.js"></script>
</body>
</html>
